package com.zhongxiangspace.entity;

import org.omg.CORBA.INTERNAL;

import java.io.Serializable;

/**
 * 文章
 */
public class Articles implements Serializable {

    /**
     * id
     */
    private Integer article_id;
    /**
     * 创建时间
     */
    private String create_time;
    /**
     * 最后修改时间
     */
    private String modify_time;
    /**
     * 文章标题
     */
    private String title;
    /**
     * 文章来源
     */
    private String articleFrom;
    /**
     * 结束语
     */
    private String theEnd;
    /**
     * 封面图
     */
    private String cover_img_path;
    /**
     * 收录词
     */
    private String keywords;
    /**
     * 描述
     */
    private String description;
    /**
     * 文章内容
     */
    private String content;
    /**
     * 创建人
     */
    private Integer username_id;
    /**
     * 类型id
     */
    private Integer article_type_id;
    /**
     * 备注
     */
    private String remark;
    /**
     * 上下线
     */
    private Integer showCode;
    /**
     * 热门和非热门
     */
    private Integer hotCode;

    public Integer getShowCode() {
        return showCode;
    }

    public void setShowCode(Integer showCode) {
        this.showCode = showCode;
    }

    public Integer getHotCode() {
        return hotCode;
    }

    public void setHotCode(Integer hotCode) {
        this.hotCode = hotCode;
    }

    public Integer getDeleteCode() {
        return deleteCode;
    }

    public void setDeleteCode(Integer deleteCode) {
        this.deleteCode = deleteCode;
    }

    /**
     * 逻辑删除
     */

    private Integer deleteCode;

    public Integer getArticle_id() {
        return article_id;
    }

    public void setArticle_id(Integer article_id) {
        this.article_id = article_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getArticleFrom() {
        return articleFrom;
    }

    public void setArticleFrom(String articleFrom) {
        this.articleFrom = articleFrom;
    }

    public String getTheEnd() {
        return theEnd;
    }

    public void setTheEnd(String theEnd) {
        this.theEnd = theEnd;
    }

    public String getCover_img_path() {
        return cover_img_path;
    }

    public void setCover_img_path(String cover_img_path) {
        this.cover_img_path = cover_img_path;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUsername_id() {
        return username_id;
    }

    public void setUsername_id(Integer username_id) {
        this.username_id = username_id;
    }

    public Integer getArticle_type_id() {
        return article_type_id;
    }

    public void setArticle_type_id(Integer article_type_id) {
        this.article_type_id = article_type_id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Articles{");
        sb.append("article_id=").append(article_id);
        sb.append(", create_time='").append(create_time).append('\'');
        sb.append(", modify_time='").append(modify_time).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", articleFrom='").append(articleFrom).append('\'');
        sb.append(", theEnd='").append(theEnd).append('\'');
        sb.append(", cover_img_path='").append(cover_img_path).append('\'');
        sb.append(", keywords='").append(keywords).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", content='").append(content).append('\'');
        sb.append(", username_id=").append(username_id);
        sb.append(", article_type_id=").append(article_type_id);
        sb.append(", remark='").append(remark).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
